package com.infinitus.nginxInfo.config;


import java.io.Serializable;

/**
 * redis用到的key前缀
 *
 */
public class RedisKeyConfig implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5015286046170553223L;

	/**
	 * 每日接收量key
	 */
	public static final String TOTAL_COUNT = "TOTAL_COUNT_";
	/**
	 * 每日发送量key
	 */
	public static final String SEND_COUNT = "SEND_COUNT_";
	/**
	 * 每日过滤量key
	 */
	public static final String ERROR_COUNT = "ERROR_COUNT_";
	/**
	 * 积累的设备号key
	 */
	public static final String EXISTS_DEVICEID = "OLD_CLIENT_DEVICE_ID_";
	/**
	 * 积累的卡号key
	 */
	public static final String EXISTS_USERID = "EXISTS_USERID_";
	/**
	 * 发布生产的开关
	 */
	public static final String PRO_SWITCH = "PRO_SWITCH_2017_06_18";
	/**
	 * sugo字段类型key
	 */
	public static final String FIELD_TYPE = "FIELD_TYPE_";
	/**
	 * 多个key合成的key的分隔符
	 */
	public static final String SEPARATOR = "//1";
	
	/**
	 * key失效时间（30分钟）
	 */
	public static long OVERTIME_4_REDIS = 30*60*1000;
	
}
